package com.TeacherInfoServer.pojo.DTO;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "任职信息DTO类")
public class PositionHistoryDTO {
    @ExcelIgnore
    private Long id;

    @ExcelProperty(value = "专业教研室名称",index = 0)
    @ColumnWidth(20)
    private String departmentName;

    @ExcelProperty(value = "起始日期",index = 3)
    @ColumnWidth(20)
    private String startDate;

    @ExcelProperty(value = "终止日期",index = 4)
    @ColumnWidth(20)
    private String endDate;

    @ExcelProperty(value = "任职人",index = 1)
    @ColumnWidth(20)
    private String TeacherName;

    @ExcelProperty(value = "任职类型",index = 2)
    @ColumnWidth(20)
    private String positionType;


}
